package com.songhuan.web.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.songhuan.web.dto.AppUserCheckStat;
import com.songhuan.web.dto.AppUserDto;
import com.songhuan.web.dto.query.AppUserPagedInput;
import com.songhuan.web.entity.*;
import com.songhuan.web.entity.AppUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户表对应的Mapper
 */
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {

    Page<AppUser> unRelativeUsers(Page<AppUser> page, AppUserPagedInput input);

    List<AppUserCheckStat> checkStat(@Param("input") AppUserDto input);

}
